package com.ccut.xunfeiSpringboot.service;

import com.ccut.xunfeiSpringboot.dto.*;

import java.net.MalformedURLException;
import java.security.SignatureException;
import java.util.function.Consumer;

public interface BaseService {
    void searchJobs(ChatRequest request, Consumer<String> contentConsumer) throws Exception;

    void chatWithStream(ChatRequest request, Consumer<String> contentConsumer) throws Exception;

    void streamJobSuggestions(ChatRequest request, Consumer<String> contentConsumer) throws Exception;

    void arrangeEvents(ChatRequest chatRequest, Consumer<String> contentConsumer) throws InterruptedException, MalformedURLException, SignatureException;

    KnowledgeGraphDTO recommendKnowledgeGraph(ChatRequest chatRequest) throws MalformedURLException, SignatureException;

    AnalyseResumeDTO analyseResume(ChatRequest chatRequest) throws MalformedURLException, SignatureException;

    AnalyseCapabilityDTO analyseCapability(ChatRequest chatRequest) throws MalformedURLException, SignatureException;

    UserAnswerAnalyseDTO analyseUserAnswer(ChatRequest chatRequest) throws MalformedURLException, SignatureException;
}
